home *** CD-ROM | disk | FTP | other *** search
/ Aminet 43 / Aminet 43 (2001)(GTI - Schatztruhe)[!][Jun 2001].iso / Wildfire / Macros / processorDEMO.rexx < prev    next >
OS/2 REXX Batch file  |  1997-10-31  |  2KB  |  151 lines

  1. /*
  2. ------------------------------------------------------------
  3.  ProcessorDEMO.rexx
  4.  
  5.  This script demonstrates some editor-features
  6.  
  7.  Copyright ©1996 WK-Artworks
  8. ------------------------------------------------------------
  9. */
  10.  
  11. if ~show('P','Wildfire') then do
  12.  say " Error: The Wildfire-program must be started before executing this script."
  13.  exit
  14. end
  15.  
  16. address "Wildfire"
  17. options results
  18.  
  19. M_CLOSECONVERTER
  20.  
  21. C_PROCESSOR ENABLED
  22. C_INPUTTYPE SEQUENCE
  23. C_OUTPUTTYPE YAFAANIM
  24. C_OUTPUTFILENAME "ram:test1.yafa"
  25. C_PREVIEW SCREEN
  26. YO_IMAGEDATA CHUNKY
  27. YO_COLORMAP UNLOCKED
  28. YO_FORCETIMECODES OFF
  29. YO_COMPRESSION XPK
  30. YO_COMPRESSOR FAST
  31. YO_MODE 100
  32. YO_SPEED 3
  33. SQ_REPEAT 1
  34. SQ_FRAMES 40
  35. SQ_SHIFT 0
  36. SQ_SEQUENCE "wf:trash/face1HALVE"
  37.  
  38. M_CLOSEPROCESSOR
  39. PC_CLEAR
  40. PC_MODE COLOR
  41. PC_DEPTH 6
  42. PC_CSKIP 0
  43. PC_DITHER FS
  44. PC_SMOOTHING MEDIUM
  45.  
  46. txt_text "tutorial/processor/txt1"
  47. txt_centre
  48. txt_wait
  49.  
  50. txt_text "tutorial/processor/txt2"
  51. txt_centre
  52. m_wait 3
  53.  
  54. txt_text "tutorial/processor/txt3"
  55. txt_centre
  56. txt_wait
  57.  
  58. M_OPENPROCESSOR
  59. m_wait 2
  60.  
  61. txt_text "tutorial/processor/txt4"
  62. txt_centre
  63. txt_wait
  64.  
  65. PC_OPENVARIABLES
  66. V_FILENAME "wf:variables/mixing.var"
  67. V_LOAD
  68.  
  69. m_wait 4
  70. PC_CLOSEVARIABLES
  71.  
  72. txt_text "tutorial/processor/txt5"
  73. txt_centre
  74. txt_wait
  75.  
  76. PC_ADD LOADIMAGE TEMP1 "wf:trash/face2HALVE" 1 0
  77. PC_SELECT LOADIMAGE 1
  78. PC_FROM 0
  79. PC_TO 0
  80. PC_OPENEDIT
  81. m_wait 4
  82. PC_CLOSEEDIT
  83.  
  84. txt_text "tutorial/processor/txt6"
  85. txt_centre
  86. txt_wait
  87.  
  88. PC_ADD COMPOSE 0 0 "Mixing" STREAM TEMP1 STREAM NONE
  89. PC_SELECT COMPOSE 1
  90.  
  91. PC_OPENEDIT
  92. m_wait 4
  93. PC_CLOSEEDIT
  94.  
  95. txt_text "tutorial/processor/txt7"
  96. txt_centre
  97. txt_wait
  98.  
  99.  
  100. PCS_INPUT "wf:trash/face1HALVE"
  101. PCS_FRAME 1
  102. PCS_PREVIEW ENABLED
  103. PC_OPENPCSINGLEPICTURE
  104.  
  105. txt_text "tutorial/processor/txt8"
  106. txt_centre
  107. m_wait 3
  108.  
  109. PCS_FRAME 10
  110. m_wait 2
  111. PCS_FRAME 15
  112. m_wait 2
  113. PCS_FRAME 20
  114. m_wait 2
  115. PCS_FRAME 25
  116. m_wait 2
  117. PCS_FRAME 30
  118. m_wait 2
  119. PCS_FRAME 35
  120. m_wait 2
  121. PCS_FRAME 40
  122. m_wait 5
  123. PCS_PREVIEW DISABLED
  124. PC_CLOSEPCSINGLEPICTURE
  125.  
  126. txt_text "tutorial/processor/txt9"
  127. txt_centre
  128. txt_wait
  129.  
  130. ST_WIDTH 60
  131. ST_FRAME 1
  132. ST_COLORS ORIGINAL
  133. PC_OPENSTORYBOARD
  134. ST_UPDATE
  135. m_wait 2
  136. ST_SCROLLDOWN
  137. m_wait 2
  138. ST_SCROLLUP
  139.  
  140. m_wait 5
  141. ST_FRAME 20
  142. ST_UPDATE
  143. m_wait 2
  144. ST_SCROLLDOWN
  145. m_wait 2
  146. ST_SCROLLUP
  147.  
  148. txt_text "tutorial/processor/txt10"
  149. txt_centre
  150. txt_wait
  151.